package com.xbongbong.pro.workorder.pojo;/*/*/

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Size;

/**
 *
 * @author 魏荣杰
 * @date 2019/3/6 17:15
 * @since v1.0
 * @version v1.0
 */
@Setter
@Getter
@ToString
public class WorkOrderTemplateDetailWorkflowPojo {
    private Long id;
    @Size(max = 20, message = "{enum.errorCode.msg.api_error_222058}")
    private String name;
    private String refRobId;
    private String refRobName;
    private Integer refRobType;
    private String userAvatar;

    @DecimalMin(value = "0.01", message = "预计耗时时间不能小于0.01小时")
    private Double expectedTime;
    private Integer isLast;
    private Integer ruleId;
    private Integer sort;
}
